const mongoose = require('mongoose');
const materializedPlugin = require('mongoose-materialized');
const Schema = mongoose.Schema;
// 定义一个普通的数据模型
var CateSchema = new Schema({
	type:{type:Number},
    title:{type: String}
});

CateSchema.plugin(materializedPlugin);


module.exports = mongoose.model('Cate', CateSchema,'cate');